#define _CRT_SECURE_NO_WARNINGS 1

#if 0
#include<stdio.h>

void dectobin(int n)
{
	if (n / 2 == 0)
	{
		printf("%d", n % 2);
		return;
	}
	else
	{
		dectobin(n / 2);
		printf("%d", n % 2);
	}
}

int main()
{
	int n = 0;
	scanf("%d", &n);
	dectobin(n);
	return 0;
}
#endif